<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'left.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery.ztree.all-3.1.min.js"></script>
<script type="text/javascript">
	var setting = {
		data: {
			simpleData: {
			enable: true
			}
		}
	};
	$(document).ready(function(){
		$.post('<s:url namespace="/sysmanage" action="munuList" />',{needUrl:true},function(data, textStatus){				
			$.fn.zTree.init($("#treeDemo"), setting,eval(data.menuNodes));				
		},"json");
	});
		
		
</script>
</head>

<body>
	<table width="198" border="0" cellpadding="0" cellspacing="0"
		class="left-table01">
		<tr>
			<TD>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="207" height="55" background="images/nav01.gif">
							<table width="90%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td width="25%" rowspan="2"><img src="images/ico02.gif"
										width="35" height="35" />
									</td>
									<td width="75%" height="22" class="left-font01">您好，<span
										class="left-font02"><s:property value="#session.user.userName"/></span>
									</td>
								</tr>
								<tr>
									<td height="22" class="left-font01">[&nbsp;<a
										href="index.jsp" target="_top" class="left-font01">退出</a>&nbsp;]</td>
								</tr>
							</table></td>
					</tr>
					<tr>
						<td>
							<table class="left-font01">
								<tr>
									<td>机构：<s:property value="#session.user.depart.name"/></td>
									<td>部门：<s:property value="#session.user.depart.branch.name"/></td>
								</tr>
							</table></td>
					</tr>

				</table>
				<ul id="treeDemo" class="ztree"></ul></TD>
		</tr>

	</table>

</body>
</html>
